package com.goodfox.web.biz.forest.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import com.goodfox.web.biz.forest.entity.ForestRights;

public interface ForestRightsMapper {

	List<ForestRights> selectForestRightsList(Map map);

	List<ForestRights> selectForestRightsList(Map map,RowBounds rowBounds);

	Long selectForestRightsListCount(Map map);

	Map selectForestRightsSimpleSummary(Map map);
	
	ForestRights selectForestRightsById(String fstRigId);
	
	String selectFstRigIdByCode(String rigCode);
	
	Long selectForestRightsCountByCode(String rigCode);

	void insertForestRights(ForestRights forestRights);

	void updateForestRights(ForestRights forestRights);

	void deleteForestRightsById(String fstRigId);

}